#include "stdafx.h"
#include "config.h"
#include "Network/Network.h"

CxConfig::CxConfig()
{}

CxConfig::~CxConfig()
{}

std::string CxConfig::GetIpAddress() const
{
    return m_strIpAddress;
}

bool CxConfig::SetIpAddress(const std::string& ip)
{
    m_strIpAddress = ip;

    Network::Instance()->InitClient(m_strIpAddress);

    return true;
}